<!DOCTYPE html>
<html lang="cn_ZH">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="/assets/css/login.css">
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/fonts/iconfont.css">
    <script src="/assets/lib/layui/layui.all.js"></script>


</head>

<body id="body1">
    <!-- logo -->
    <div class="layui-main">
        <img src="/assets/images/logo.png" alt="">
    </div>
    <!-- 登录注册 -->
    <div class="login-reg-box">
        <div class="title">
            <img src="/assets/images/login_title.png" alt="">
        </div>
        <!-- 登录表单 -->
        <div class="login">
            <form class="layui-form">
                <div class="layui-form-item">
                    <!-- <label class="layui-form-label">输入框</label> -->
                    <i class="iconfont icon-yonghu"></i>
                    <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <!-- <label class="layui-form-label">输入框</label> -->
                    <i class="iconfont icon-mima"></i>
                    <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn  layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">登录</button>
                </div>
                <div class="layui-form-item">
                    <a class="tab" href="javascript:;">注册用户</a>
                </div>
            </form>
        </div>
        <!-- 注册表单 -->
        <div class="register" style="display: none">
            <form class="layui-form">
                <div class="layui-form-item">
                    <!-- <label class="layui-form-label">输入框</label> -->
                    <i class="iconfont icon-yonghu"></i>
                    <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <!-- <label class="layui-form-label">输入框</label> -->
                    <i class="iconfont icon-mima"></i>
                    <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off" class="reg-pwd layui-input">
                </div>
                <div class="layui-form-item">
                    <!-- <label class="layui-form-label">输入框</label> -->
                    <i class="iconfont icon-mima"></i>
                    <input type="password" required lay-verify="required|pwd|repwd" placeholder="请再输入密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn  layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">注册</button>
                </div>
                <div class="layui-form-item">
                    <a class="tab go-login" href="javascript:;">去登录</a>
                </div>
            </form>
        </div>
    </div>
</body>
<script src="/assets/lib/jquery.js"></script>
<script src="/assets/js/baseAPI.js"></script>
<script src="/assets/js/login.js"></script>

</html>